package structure

//记录seafile中文件的目录
type SourcePhoto struct {
	Id        int    `sqlField:"id" sqlType:"integer PRIMARY KEY autoincrement"`
	FileName  string `sqlField:"filename" sqlType:"NVARCHAR(255)"`
	PhotoName string `sqlField:"photoname" sqlType:"NVARCHAR(255)"`
	MD5       string `sqlField:"MD5" sqlType:"CHAR(32)"`
	UserId    int    `sqlField:"userid" sqlType:"int(32)"`
	GroupId   int    `sqlField:"groupid" sqlType:"int(32)"`
	ParentId  int    `sqlField:"parentid" sqlType:"int(32)"`
	FileUrl   string `sqlField:"fileurl" sqlType:"CHAR(1)"`
	IsDir     bool   `sqlField:"isdir" sqlType:"BOOLEAN"`
	Source    string `sqlField:"source" sqlType:"NVARCHAR(255)"`
}
